﻿using SD.Entity;
using SD.Entity.PageSearch;
using SD.Entity.SearchEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SD.Interface.Service
{
    public interface IRoleInfoService
    {
        RoleInfo GetRoleInfo(int id);

        int DeleteRoleInfo(int id);

        int SaveRoleInfo(RoleInfo roleInfo);

        List<RoleInfo> GetRoleInfoList(RoleInfoSearch search);

        PagedList<RoleInfo> QueryRoleInfoList(RoleInfoSearch search, PageView view);
    }
}
